/**
 * fileName:  ManagerEntity.java
 * author:  Lei
 * Company:  Cloudland Studio
 * Createdate:  2014-2-28 下午12:58:44
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2020
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-2-28          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.udap.database.entity;

 /**
 * <pre> 
 * 后台账号实体类
 * </pre>
 * @ClassName  ManagerEntity
 * @author  Lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class ManagerEntity {
	
	/**
	 * id 账号标示符
	 */
	private String id;
	
	/**
	 * name 账号名称
	 */
	private String name;
	
	/**
	 * password 账号密码
	 */
	private String password;
	
	/**
	 * salt 盐值
	 */
	private String salt;
	
	/**
	 * roleId 角色标示符
	 */
	private String roleId;

	/**
	 * get id
	 * @return id
	 */
	public String getId() {
		return id;
	}

	/**
	 * set id
	 * @param id the value of id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * get name
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * set name
	 * @param name the value of name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * get password
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * set password
	 * @param password the value of password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * get salt
	 * @return salt
	 */
	public String getSalt() {
		return salt;
	}

	/**
	 * set salt
	 * @param salt the value of salt
	 */
	public void setSalt(String salt) {
		this.salt = salt;
	}

	/**
	 * get roleId
	 * @return roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * set roleId
	 * @param roleId the value of roleId
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	
	/**
	 * @return
	 */
	@Override
	public String toString() {
		StringBuffer buffer = new StringBuffer("[ManagerEntity:{id:").append(getId());
		buffer.append(", name:").append(getName());
		buffer.append(", password:").append(getPassword());
		buffer.append(", salt:").append(getSalt());
		buffer.append(", roleId:").append(getRoleId());
		buffer.append("}]");
		return buffer.toString();
	}
	
}
